Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
prototyped.js
Advanced tools
Common Typescript ready prototypes available in ES5 and ES6, Server-Side and Client-Side
More than 100
useful methods collected in one place
if you have a method you think needs to be a part of this package, feel free to contribute
npm i -s prototyped.js
import all prototypes
// es5 (default)
require('prototyped.js');
import 'prototyped.js';
// es6
require('prototyped.js/es6');
import 'prototyped.js/es6';
console.log('hello world!'.words()); // ['hello', 'world']
or simply import the prototypes you want
require('prototyped.js/es6/string');
// or
require('prototyped.js/dist/string/words');
console.log('hello world!'.words()); // ['hello', 'world']
even better, just import the method you want
const words = require('prototyped.js/es6/string/words/method');
console.log(words('hello world!')); // ['hello', 'world']
const methods = require('prototyped.js/dist/methods');
console.log(methods.string.words('hello world!')); // ['hello', 'world']
All documents are available at API.md
We use SemVer for versioning. For the versions available, see the tags on this repository.
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE file for details
If my work helps you, please consider
FAQs
Common typescript ready prototypes available in both CommonJS and ECMAScript
We found that prototyped.js demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.